package cn.gmcx.lazy.izze.service;

import cn.gmcx.lazy.izze.pojo.Video;
import cn.gmcx.lazy.izze.pojo.VideoVo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 视频 服务类
 * </p>
 *
 * @author GMCX
 * @since 2024-06-14
 */
public interface IVideoService extends IService<Video> {

    Integer add(MultipartFile file, Integer userId, Integer type, String synopsis);

    List<VideoVo> selectRecommend(Integer id);

   void updatePraise(Integer userId, Integer videoId,Boolean isPraise);

   void updateComments(Integer videoId);
}
